<?php
session_start();
if(isset($_SESSION)){
    unset($_SESSION['school_id']);
    unset($_SESSION['volunteer_id']);
    unset($_SESSION['user_name']);
    unset($_SESSION['role']);
    header("Location: ../include/home/homepage.php");
    $_SESSION['message']="You have logged out sucessfully";
}
?>